<%@ Control Language="C#" ClassName="CarBookTypes" Inherits="Dimok.Web.UI.TableControl" %>

<script runat="server">
</script>
<table>
<tr><td>
<ajaxtk:CollapsiblePanelExtender runat="server" ID="cpeCBT"
	TargetControlID="pnlCBT"
	CollapseControlID="pnlCBTHeader" ExpandControlID="pnlCBTHeader"
	TextLabelID="lblCBTLabel"
	ImageControlID="imgCBTPanel"
	CollapsedImage="~/images/Buttons/expand.jpg" ExpandedImage="~/images/Buttons/collapse.jpg"
	Collapsed="true"	CollapsedText="" ExpandedText=""
	SuppressPostBack="true"
></ajaxtk:CollapsiblePanelExtender>
<asp:Panel ID="pnlCBTHeader" CssClass="PanelHeaderBlue" style="width:100%" runat="server">
<table cellPadding="0" cellSpacing="0"><tr>
<th Width="1px"><asp:Image ID="imgCBTPanel" ImageUrl="~/images/Buttons/expand.jpg" runat="server" />
<td nowrap><label ID="lblCBTLabel" runat="server">Car Books</label></td>
</tr></table>
</asp:Panel> 
<asp:Panel ID="pnlCBT" runat="server" CssClass="PannelContent">
<asp:UpdatePanel ID="upCBT" UpdateMode="Always" runat="server">
	<ContentTemplate>
		<UI:GridViewEx ID="grv" runat="server" AutoGenerateColumns="False" DataSourceID="ds"
			ShowFooter="True" AllowSorting="True" 
			DataKeyNames="ID"
			>
			<Columns>

				<!-- #include virtual = "~/Controls/_FieldTemplates/ID.txt" -->
				<!-- #include virtual = "~/Controls/_FieldTemplates/Name.txt" -->


			</Columns>
		</UI:GridViewEx>
	</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
</table>
<DS:CarBookTypesDataSource ID="ds" runat="server" />
